package com.lxk.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class WxUser implements Serializable {
    private Integer wxUserId;

    private String openid;

    private String nickname;

    private Integer sex;

    private String province;

    private String city;

    private String country;

    private String headimgurl;

    private String unionid;

    private Date dateAdded;

    private Date dateModified;

    private Double wxUserLng;

    private Double wxUserLat;

    private Integer inviteUserId;

    private BigDecimal account;

    private BigDecimal rebateAccount;

    private Integer rewardPoint;

    private static final long serialVersionUID = 1L;

    public Integer getWxUserId() {
        return wxUserId;
    }

    public void setWxUserId(Integer wxUserId) {
        this.wxUserId = wxUserId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl == null ? null : headimgurl.trim();
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid == null ? null : unionid.trim();
    }

    public Date getDateAdded() {
        return dateAdded;
    }

    public void setDateAdded(Date dateAdded) {
        this.dateAdded = dateAdded;
    }

    public Date getDateModified() {
        return dateModified;
    }

    public void setDateModified(Date dateModified) {
        this.dateModified = dateModified;
    }

    public Double getWxUserLng() {
        return wxUserLng;
    }

    public void setWxUserLng(Double wxUserLng) {
        this.wxUserLng = wxUserLng;
    }

    public Double getWxUserLat() {
        return wxUserLat;
    }

    public void setWxUserLat(Double wxUserLat) {
        this.wxUserLat = wxUserLat;
    }

    public Integer getInviteUserId() {
        return inviteUserId;
    }

    public void setInviteUserId(Integer inviteUserId) {
        this.inviteUserId = inviteUserId;
    }

    public BigDecimal getAccount() {
        return account;
    }

    public void setAccount(BigDecimal account) {
        this.account = account;
    }

    public BigDecimal getRebateAccount() {
        return rebateAccount;
    }

    public void setRebateAccount(BigDecimal rebateAccount) {
        this.rebateAccount = rebateAccount;
    }

    public Integer getRewardPoint() {
        return rewardPoint;
    }

    public void setRewardPoint(Integer rewardPoint) {
        this.rewardPoint = rewardPoint;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", wxUserId=").append(wxUserId);
        sb.append(", openid=").append(openid);
        sb.append(", nickname=").append(nickname);
        sb.append(", sex=").append(sex);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", country=").append(country);
        sb.append(", headimgurl=").append(headimgurl);
        sb.append(", unionid=").append(unionid);
        sb.append(", dateAdded=").append(dateAdded);
        sb.append(", dateModified=").append(dateModified);
        sb.append(", wxUserLng=").append(wxUserLng);
        sb.append(", wxUserLat=").append(wxUserLat);
        sb.append(", inviteUserId=").append(inviteUserId);
        sb.append(", account=").append(account);
        sb.append(", rebateAccount=").append(rebateAccount);
        sb.append(", rewardPoint=").append(rewardPoint);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}